﻿using System;
using Newtonsoft.Json;
using System.ComponentModel.DataAnnotations.Schema;
using YiSha.Util;

namespace YiSha.Entity.QixingManage
{
    /// <summary>
    /// 创 建：admin
    /// 日 期：2025-03-01 17:01
    /// 描 述：实体类
    /// </summary>
    [Table("goods_colors")]
    public class ColorsEntity : BaseEntity
    {
        /// <summary>
        /// 商品id
        /// </summary>
        /// <returns></returns>
        [JsonConverter(typeof(StringJsonConverter))]
        public long? goods_id { get; set; }

        public string key { get; set; }
        
        public string pic { get; set; }

        public string value { get; set; }

        public string name { get; set; }

        public string attributeval_name { get; set; }

        [JsonConverter(typeof(StringJsonConverter))]
        public long? attributeval_id { get; set; }
    }
}
